#ifndef __CAMERA_H__
#define __CAMERA_H__

#include <Windows.h>
#include "Global.h"

class CCamera
{
private:
	static CCamera* _instance;

	CCamera() { }
	~CCamera() { }

	int _width;
	int _height;

	int _top;
	int _left;

public:
	static CCamera* GetInstance();

	CCamera* SetWidth(int width);
	CCamera* SetHeight(int height);
	CCamera* SetTop(int top);
	CCamera* SetLeft(int left);

	int GetWidth();
	int GetHeight();
	int GetTop();
	int GetLeft();

	void Move(CCamera* camera, int deltaX, int deltaY);
};

#endif